<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Models\Department;
use App\Http\Resources\Department as DepartmentResource;

class DepartmentController extends Controller
{
     public function show ($id)
    {
        return new DepartmentResource(Department::find($id));
    }
}
